<?php
	/*
		@copyright HungHau Holding
		@Name Le Van Tuong
		@Email levantuong435@gmail.com
	*/
	class Composer{
		public function compose($view){
			// Process
			$tinh = Tinh::select('Tinh','TenTinh')->get();
			$doituong = DoiTuong::select('DoiTuong','Ten_DoiTuong','NhomUT')->get();
			$khuvuc = KhuVuc::select('KhuVuc','Ten_KhuVuc')->get();
			$nganhnghe = NganhNghe::select('idNganh','MaNganh','Name')->get();
			// Return view
			$view->with("tinhs",$tinh)
				 ->with("doituongs",$doituong)
				 ->with("khuvucs",$khuvuc)
				 ->with("nganhnghes",$nganhnghe);
		}
	}
?>